package com.zhao.dao;

import com.zhao.pojo.SuperviseForm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SuperviseDao {
    List<SuperviseForm> findAll(String universityID);
    int add(SuperviseForm superviseForm);
    List<SuperviseForm> findSuperviseByFromID(String fromID);
    List<SuperviseForm> findSuperviseByEbickIDAndStatus(String ebickID,String status);
    List<SuperviseForm> findSuperviseByFromIDAndNotStatus(String fromID,String status);
    List<SuperviseForm> findSuperviseByFromIDAndStatus(String fromID,String status);
    SuperviseForm findByID(String superviseID);
    int update(SuperviseForm superviseForm);
    int deleteByID(String superviseID,String universityID);

    List<SuperviseForm> findByToStudentIDAndStatus(String toStudentID,String status);
    List<SuperviseForm> findByToStudentID(String toStudentID);
}
